<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
    border: 1px solid;
    width: 400px;
    height: 80px;        
        }
        .d1{
background-image: linear-gradient(60deg,yellow 0%,yellow 25%,blue 25%,blue 50%,red 50%,
red 75%,green 75%,green 100% );
        }
        .d2{
            background-image: repeating-linear-gradient(to right,black 0%,black 25%,white 25%,white 50%);
        }
        .d3{
            border: none;
            font-size: 55px;
            font-weight: bolder;
            background: linear-gradient(45deg,orange 0%,orange 33%,blue 33%,blue 66%,red 66%,red 100%);
            -webkit-background-clip:text;
            -webkit-text-fill-color: transparent;
        }
        .d4{
            height: 400px;
        }
        .o1{
            border: none;
            height: 20px;
            background-image: repeating-linear-gradient(to right,rgb(245, 101, 101) 0,rgb(245, 101, 101)20px,pink 20px,pink 40px);
        }
        .o2{
            border: none;
            height: 20px;
            background-image: repeating-linear-gradient(to right,pink 0,pink 20px,white 20px,white 40px);
        }
    </style>
</head>
<body>
    <div class="d1"></div>
    <div class="d2"></div>
    <div class="d3"><p>中华人民共和国</p></div>
    <div class="d4">
        <script>
            for (let i = 0; i < 10; i++) {
            document.write(`
                <div class="o1"></div>
                <div class="o2"></div>   
            `)
            }  
        </script>
        </div>
</body>
</html>